import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);

import './css/global.css'
import './assets/fonts/iconfont.css'
//配置请求的根路径
import axios from 'axios'
axios.defaults.baseURL='http://127.0.0.1:8000/'
Vue.prototype.$http=axios

import Video from 'video.js'
import 'video.js/dist/video-js.css'

Vue.config.productionTip=false
new Vue({
    el:'#app',
    components:{App},
    template:'<App/>',
    router,
    store,
    render: h => h(App)
})